package com.ruoyi.extdata.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @Author: Jamnsin
 * @Date: 2021/1/14 9:25
 */
@Data
@NoArgsConstructor
public class SmsReq {
    @NotBlank(message = "手机号不能为空")
    @Size(min = 0, max = 11, message = "手机号不能超过11位")
    private String phoneNumber;

    @NotBlank(message = "区号不能为空")
    private String countryCode;

    @NotBlank(message = "短信类型不能为空")
    private String smsType;

    private String isServerSend;

    private String fingerprint;
}
